import request from '@/utils/request/index'

function get_user_info() {
	return request({
		url: '/public/users/get_user_info',
		defer: true
	});
}

function update(data) {
	return request({
		url: '/api/users/update',
		method: 'POST',
		data: data,
	});
}

function wx_bind_phone_number(data) {
	return request({
		url: '/api/users/wx_bind_phone_number',
		method: 'POST',
		data: data,
	});
}

export default {
	get_user_info,
	update,
	wx_bind_phone_number
}